package com.djsearch.util;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

/**
 * @author yinxing
 * 
 */
public interface DefaultJSONData {

	// 解析json数组
	public abstract void parse(JSONArray array) throws JSONException;

	// 解析json对象
	public abstract void parse(JSONObject object) throws JSONException;
	
	// 解析其它返回
	public abstract void parse(String result) throws JSONException;
}
